﻿namespace ClassLibrary.BusinessLayer.BusinessObjects
{
    using System;

    [Serializable, ClassTable("Client", true)]
    public class Projects : ParentTableClass
    {
        private string strCountry;
        private string strProjectCode;
        private string strStatus;
        private string strTitle;

        [ClassProperty(false, true, false, false, false, "ProjectCode", "@ProjectCode", ClassPropertyAttribute.DBTypes.Varchar)]
        public string _ProjectCode
        {
            get
            {
                return this.strProjectCode;
            }
            set
            {
                this.strProjectCode = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "Country", "@Country", ClassPropertyAttribute.DBTypes.Varchar)]
        public string Country
        {
            get
            {
                return this.strCountry;
            }
            set
            {
                this.strCountry = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "Status", "@Status", ClassPropertyAttribute.DBTypes.Varchar)]
        public string Status
        {
            get
            {
                return this.strStatus;
            }
            set
            {
                this.strStatus = value;
            }
        }

        [ClassProperty(false, false, true, true, true, "Title", "@Title", ClassPropertyAttribute.DBTypes.Varchar)]
        public string Title
        {
            get
            {
                return this.strTitle;
            }
            set
            {
                this.strTitle = value;
            }
        }
    }
}

